<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>

    // 传统的数组和对象取值
    // var arr = [1,2,3];

    // var a = arr[0];
    // var b = arr[1];
    // var c = arr[2];

    // var arr = [1,2,3,[4,5]];
    // var d = arr[3][0]
    // var e = arr[3][1]

    var obj = {
        a:1,
        b:2,
        c:3,
    }
    var a = obj.a;
    var b = obj.b;
    var c = obj.c;


</script>
</html>